package indi.woniu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Pool)实体类
 *
 * @author makejava
 * @since 2021-12-15 17:11:53
 */
public class Pool implements Serializable {
    private static final long serialVersionUID = -46093917941484509L;
    
    private Integer id;
    /**
    * 题库名称
    */
    private String poolName;
    /**
    * 子关联父id
    */
    private Integer fid;
    /**
    * 排序
    */
    private Integer order;
    /**
    * 创建时间
    */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    /**
    * 修改时间
    */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    /**
    * 创建人
    */
    private String createMan;
    /**
    * 修改时间
    */
    private String updateMan;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPoolName() {
        return poolName;
    }

    public void setPoolName(String poolName) {
        this.poolName = poolName;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan;
    }

    public String getUpdateMan() {
        return updateMan;
    }

    public void setUpdateMan(String updateMan) {
        this.updateMan = updateMan;
    }

    @Override
    public String toString() {
        return "Pool{" +
                "id=" + id +
                ", poolName='" + poolName + '\'' +
                ", fid=" + fid +
                ", order=" + order +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createMan='" + createMan + '\'' +
                ", updateMan='" + updateMan + '\'' +
                '}';
    }
}